Order Allow,Deny
Allow from all

RewriteEngine On

RewriteCond %{REQUEST_URI} \.html$
#RewriteRule ^/secure(.*)  /validuser.php [L]   #Uncomment that line and replace "secure" with directory name that you need to protect, only valid registered users can access content of that directory 